.class public Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;
.super Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;
.source "FileBackupSettingFragment.java"


# direct methods
.method public constructor <init>()V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;-><init>()V

    return-void
.end method

.method private a(Ljava/util/ArrayList;)V
    .locals 4
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/ArrayList<",
            "Ljava/lang/String;",
            ">;)V"
        }
    .end annotation

    .line 1
    new-instance v0, Lcom/estrongs/android/ui/dialog/q$n;

    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getActivity()Landroidx/fragment/app/FragmentActivity;

    move-result-object v1

    invoke-direct {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;-><init>(Landroid/content/Context;)V

    const v1, 0x7f11016e

    .line 2
    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(I)Lcom/estrongs/android/ui/dialog/q$n;

    const/4 v1, 0x1

    new-array v1, v1, [Ljava/lang/Object;

    .line 3
    invoke-virtual {p1}, Ljava/util/ArrayList;->size()I

    move-result v2

    invoke-static {v2}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v2

    const/4 v3, 0x0

    aput-object v2, v1, v3

    const v2, 0x7f11017e

    invoke-virtual {p0, v2, v1}, Landroidx/fragment/app/Fragment;->getString(I[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Ljava/lang/CharSequence;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 4
    new-instance v1, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;

    invoke-direct {v1, p0, p1}, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$a;-><init>(Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;Ljava/util/ArrayList;)V

    const p1, 0x7f11029e

    invoke-virtual {v0, p1, v1}, Lcom/estrongs/android/ui/dialog/q$n;->b(ILandroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    const p1, 0x7f110299

    .line 5
    invoke-virtual {p0, p1}, Landroidx/fragment/app/Fragment;->getString(I)Ljava/lang/String;

    move-result-object p1

    new-instance v1, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$b;

    invoke-direct {v1, p0}, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment$b;-><init>(Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;)V

    invoke-virtual {v0, p1, v1}, Lcom/estrongs/android/ui/dialog/q$n;->a(Ljava/lang/CharSequence;Landroid/content/DialogInterface$OnClickListener;)Lcom/estrongs/android/ui/dialog/q$n;

    .line 6
    invoke-virtual {v0}, Lcom/estrongs/android/ui/dialog/q$n;->a()Lcom/estrongs/android/ui/dialog/q;

    move-result-object p1

    invoke-virtual {p1}, Lcom/estrongs/android/ui/dialog/q;->show()V

    return-void
.end method


# virtual methods
.method protected f()I
    .locals 1

    const v0, 0x7f11017a

    return v0
.end method

.method protected i()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;->i()V

    .line 2
    iget-object v0, p0, Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;->b:Landroid/widget/ImageView;

    const v1, 0x7f080475

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 3
    iget-object v0, p0, Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;->d:Landroid/widget/TextView;

    const v1, 0x7f110b58

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 4
    invoke-virtual {p0}, Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;->j()Z

    move-result v0

    if-nez v0, :cond_0

    .line 5
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/estrongs/android/pop/o;->a(Z)V

    .line 6
    :cond_0
    iget-object v0, p0, Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;->h:Landroid/widget/CheckBox;

    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v1

    invoke-virtual {v1}, Lcom/estrongs/android/pop/o;->u()Z

    move-result v1

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 7
    invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getArguments()Landroid/os/Bundle;

    move-result-object v0

    const/4 v1, 0x0

    if-eqz v0, :cond_1

    const-string v1, "folder_path"

    .line 8
    invoke-virtual {v0, v1}, Landroid/os/Bundle;->getStringArrayList(Ljava/lang/String;)Ljava/util/ArrayList;

    move-result-object v1

    .line 9
    invoke-virtual {v0}, Landroid/os/Bundle;->clear()V

    :cond_1
    if-eqz v1, :cond_2

    .line 10
    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    if-lez v0, :cond_2

    .line 11
    invoke-direct {p0, v1}, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;->a(Ljava/util/ArrayList;)V

    :cond_2
    return-void
.end method

.method public l()I
    .locals 1

    const/4 v0, 0x4

    return v0
.end method

.method protected m()J
    .locals 2

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->k()J

    move-result-wide v0

    return-wide v0
.end method

.method protected q()I
    .locals 1

    const/4 v0, 0x2

    return v0
.end method

.method protected r()Z
    .locals 3

    .line 1
    invoke-virtual {p0}, Lcom/estrongs/android/ui/autobackup/fragment/FileBackupSettingFragment;->t()Z

    move-result v0

    .line 2
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v1

    xor-int/lit8 v2, v0, 0x1

    invoke-virtual {v1, v2}, Lcom/estrongs/android/pop/o;->a(Z)V

    .line 3
    iget-object v1, p0, Lcom/estrongs/android/ui/autobackup/fragment/CommonBackupSettingFragment;->h:Landroid/widget/CheckBox;

    xor-int/lit8 v2, v0, 0x1

    invoke-virtual {v1, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    xor-int/lit8 v0, v0, 0x1

    return v0
.end method

.method protected t()Z
    .locals 1

    .line 1
    invoke-static {}, Lcom/estrongs/android/pop/o;->A0()Lcom/estrongs/android/pop/o;

    move-result-object v0

    invoke-virtual {v0}, Lcom/estrongs/android/pop/o;->u()Z

    move-result v0

    return v0
.end method
